from applications.extensions import ma
from marshmallow import fields



class TarUrlOutSchema(ma.Schema):
    id=fields.Integer()
    TarName=fields.Str(attribute="name")
    TarUrl=fields.Str(attribute="url")
    enable = fields.Str()
    remark = fields.Str()
    details = fields.Str()
    create_at = fields.DateTime()
    update_at = fields.DateTime()
